package util;

import java.util.*;

import util.Attribute;
import util.Reference;

public class Instance {
	private Scope scope;

	public Instance(Scope upper, Class cl) {
		scope = new Scope(upper);
		for(Attribute attr : cl.getAttributes().values())
			scope.addReference(new Reference(attr));
	}

	public Scope getScope() {
		return scope;
	}
	
	
	
}
